package io.homework3;

import java.io.FileOutputStream;

public class Test3 {
    public static void main(String[] args) {
        System.out.println("程序开始");
        try (
                FileOutputStream fos = new FileOutputStream("./a.txt");
        ){
            fos.write(5);
        } catch (Exception e) {
            System.out.println("查无此目录问题");
        }
        System.out.println("程序结束");
    }
}
